package com.ruoyi.supply.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 货源/地点 咨询图片对象 t_info_img
 * 
 * @author Ryan
 * @date 2025-06-05
 */
@Data
@ApiModel("货源/地点 咨询图片")
@TableName("t_info_img")
@AllArgsConstructor
@NoArgsConstructor
public class TInfoImg
{

    /** id */
    @TableId(type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty("id")
    private Long id;

    /** 货源/地点 咨询表id */
    @Excel(name = "货源/地点 咨询表id")
    @ApiModelProperty("货源/地点 咨询表id")
    private Long fkSupplyInfoId;

    /** url */
    @Excel(name = "url")
    @ApiModelProperty("url")
    private String url;

    /** type */
    @Excel(name = "type")
    @ApiModelProperty("type")
    private String type;

    /** 创建者 */
    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /** 更新者 */
    @TableField(fill = FieldFill.UPDATE)
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    @Excel(name = "miniFlag")
    @ApiModelProperty("mini_flag")
    private Boolean miniFlag;

}
